updating oE DATE
date
<built-in> function date()
returns a sequence with information on the current date.
Returns:
A sequence of length 8, laid out as follows:
- year -- since 1900
- month -- January = 1
- day -- day of month, starting at 1
- hour -- 0 to 23
- minute -- 0 to 59
- second -- 0 to 59
- day of the week -- Sunday = 1
- day of the year -- January 1st = 1
Comments:
The value returned for the year is actually the number of years since 1900 (not the last 2 digits of the year). In the year 2000 this value was 100. In 2001 it was 101, and so on.
Example 1:
sequence now = date() -- now has: {95,3,24,23,47,38,6,83} -- i.e. Friday March 24, 1995 at 11:47:38pm, day 83 of the year
See Also:
Not Categorized, Please Help
|